package br.com.eventime.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the recebimentos_inscricao database table.
 * 
 */
@Entity
@Table(name="recebimentos_inscricao")
public class RecebimentosInscricao implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private RecebimentosInscricaoPK id;

    @Temporal( TemporalType.DATE)
	@Column(name="data_alteracao")
	private Date dataAlteracao;

    @Temporal( TemporalType.DATE)
	@Column(name="data_inclusao")
	private Date dataInclusao;

	//uni-directional many-to-one association to ContasReceber
    @ManyToOne
	@JoinColumn(name="contas_receber",insertable=false,updatable=false)
	private ContasReceber contasReceber;

	//bi-directional many-to-one association to Inscricao
    @ManyToOne
	@JoinColumn(name="inscricao",insertable=false,updatable=false)
	private Inscricao inscricao;

	//uni-directional many-to-one association to Usuario
    @ManyToOne
	@JoinColumn(name="usuario_inclusao")
	private Usuario usuarioInclusao;

	//uni-directional many-to-one association to Usuario
    @ManyToOne
	@JoinColumn(name="usuario_alteracao")
	private Usuario usuarioAlteracao;

    public RecebimentosInscricao() {
    }

	public RecebimentosInscricaoPK getId() {
		return this.id;
	}

	public void setId(RecebimentosInscricaoPK id) {
		this.id = id;
	}
	
	public Date getDataAlteracao() {
		return this.dataAlteracao;
	}

	public void setDataAlteracao(Date dataAlteracao) {
		this.dataAlteracao = dataAlteracao;
	}

	public Date getDataInclusao() {
		return this.dataInclusao;
	}

	public void setDataInclusao(Date dataInclusao) {
		this.dataInclusao = dataInclusao;
	}

	public ContasReceber getContasReceber() {
		return this.contasReceber;
	}

	public void setContasReceber(ContasReceber contasReceber) {
		this.contasReceber = contasReceber;
	}
	
	public Inscricao getInscricao() {
		return this.inscricao;
	}

	public void setInscricao(Inscricao inscricao) {
		this.inscricao = inscricao;
	}
	
	public Usuario getUsuarioInclusao() {
		return this.usuarioInclusao;
	}

	public void setUsuarioInclusao(Usuario usuarioInclusao) {
		this.usuarioInclusao = usuarioInclusao;
	}
	
	public Usuario getUsuarioAlteracao() {
		return this.usuarioAlteracao;
	}

	public void setUsuarioAlteracao(Usuario usuarioAlteracao) {
		this.usuarioAlteracao = usuarioAlteracao;
	}
	
}